// -----------------------------------------------------------
// Game Framework
// Copyright © 2024-2024 deadcycle. All rights reserved.
// Homepage: https://deadcycle.gitee.io
// Feedback: deadcycle@163.com
// -----------------------------------------------------------

using System;

using UnityEngine;

namespace UIWidget
{
    /// <summary>
    /// Cell组件基类。
    /// </summary>
    public abstract class CellBase : MonoBehaviour
    {
        /// <summary>
        /// 通用更新渲染函数。
        /// </summary>
        /// <param name="userData">用户自定义数据。</param>
        public virtual void UpdateContent(object userData)
        {
#if UNITY_EDITOR
            throw new NotImplementedException();
#endif
        }
    }
}